package br.com.sigad.persistencia.dao;

import javax.persistence.EntityManager;

import org.hibernate.Session;

public class DAOUtil {
	protected EntityManager getEntityManager() {
		return Emf.get().createEntityManager();
	}

	protected Session getSession() {
		return (Session) getEntityManager().getDelegate();
	}
}
